import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Components from "../src/components";
import iView from "view-design";
import "view-design/dist/styles/iview.css";
import "../src/style/base.scss";
import { Message } from "view-design";
import ApiPlugin from "../src/server/index";
import { FilterPlugin } from "../src/utils/filter";
Vue.config.productionTip = false;
Vue.use(Components);
Vue.use(iView);
Vue.use(FilterPlugin);
Vue.use(ApiPlugin);
Vue.prototype.$toast = Message;
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
